Ext.define('Seq.panel.Panel', {
    extend: 'Ext.panel.Panel',
    xtype: 'xpanel',

    listeners: {
        render: function (me, eOpts) {
            if (me.hasListeners.click) {
                Ext.fly(this.el).on('click', me.click);
            }
        }
    },

    initComponent: function () {
        var me = this, click = me.config.listeners && me.config.listeners.click;
        if (click) {
            Ext.apply(me, {
                click: click
            });
        }
        me.callParent(arguments);
    }

});